/**
 * Copyright (c) 2009 Koder Chen. All Rights Reserved.
 *
 * tst_rsa.h
 *
 * The file declares the functions for the test of rsa logic
 *
 *  Author: chenfuhan
 * Created: 2009-6-24
 * Version: 1.0
 */
#include "type.h"
#include "tool.h"
#include "bigint.h"
#include "rsa.h"

#ifndef __TEST_RSA_H__
#define __TEST_RSA_H__

void test_int2bytes();
void test_bytes2int();
void test_rand_bits();
void test_rand_int();
void test_fermat_test();
void test_jacobi();
void test_jacobi_test();
void test_rand_prime();
void test_relatively_prime();
void test_gen_p_q();
void test_extend_euclid_gcd();
void test_calculate_keys();
void test_gen_keys();
void test_rsa();
#endif // __TEST_RSA_H__

